<%@ include file="/taglibs.jsp"%>

<head>
    <title><fmt:message key="fileForm.title"/></title>
    <script type="text/javascript" src="${ctx}/scripts/file_module.js"></script>
</head>
<s:form name="taskForm" action="submitTask" method="post">
<s:hidden name="id" value="%{file.id}"/>

<s:label key="file.sender" title="file.sender"></s:label>
<s:label key="file.senderPhone" title="file.senderPhone"></s:label>
<s:label key="file.organization" title="file.organization"></s:label>
<s:label key="file.orgPhone" title="file.orgPhone"></s:label>
<s:label key="file.content" title="file.content"></s:label>
<tr>
	<td>
        <s:property value="getText('file.inputDate')"/>
    </td>
    <td>
        <s:label title="file.inputDate"></s:label>
    </td>
    <td>
        <s:property value="getText('file.outputDate')"/>
    </td>
	<td>
        <s:label title="file.outputDate"></s:label>
    </td> 
</tr>
<tr>
	<td>
        <s:property value="getText('file.attach')"/>
    </td>
	<td id="attachFiles">
		<s:checkboxlist key="file.attach" name="attachFiles" list="attList" listKey="value" listValue="name" theme="simple"></s:checkboxlist>
	</td>
</tr>


<tr>
	<td>
        <s:property value="getText('file.content')"/><span class="required">*</span>
    </td>
    <td>
    	<s:textarea maxlength="600" key="file.content" cols="50" rows="7" theme="simple"/>
    </td>
</tr>


<tr>
    <td></td>
    <td>
        <s:submit cssClass="button" name="approve" value="%{getText('tasklist.executionForm.button.approve')}" theme="simple"  ></s:submit>
        <s:submit cssClass="button" name="reject" value="%{getText('tasklist.executionForm.button.reject')}" theme="simple"  ></s:submit>
        <s:submit cssClass="button" name="cancel" value="%{getText('tasklist.executionForm.button.back')}" theme="simple"  ></s:submit>
    </td>
</tr>
</s:form>

